print('猜数字游戏!')
import random
computer_num = random.randint(1,100)
while True:
    user_name = input('请猜100以内的数字:')
    if user_name == computer_num:
        print('bingo')
        break
    elif user_name > computer_num:
        print('猜大了')
        continue
    elif user_name < computer_num:
        print('猜小了')
